home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / pgm / pgmtopbm.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pgmtopbm(1)           AMIGA (26 July 1988)            pgmtopbm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pgmtopbm - convert a portable graymap into a portable bitmap
  10.  
  11.      SYNOPSIS
  12.           pgmtopbm [-floyd|-fs|-threshold |-dither8|-d8|-cluster3 |-
  13.           c3|-cluster4|-c4 |-cluster8|-c8] [-value val] [pgmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable graymap as input.  Produces a portable
  17.           bitmap as output.
  18.  
  19.           Note that there is no pbmtopgm converter, because any pgm
  20.           program can read pbm files automagically.
  21.  
  22.      OPTIONS
  23.           The default quantization method is boustrophedonic Floyd-
  24.           Steinberg error diffusion (-floyd or -fs).  Also available
  25.           are simple thresholding (-threshold); Bayer's ordered dither
  26.           (-dither8) with a 16x16 matrix; and three different sizes of
  27.           45-degree clustered-dot dither (-cluster3, -cluster4, -
  28.           cluster8).
  29.  
  30.           Floyd-Steinberg will almost always give the best looking
  31.           results; however, looking good is not always what you want.
  32.           For instance, thresholding can be used in a pipeline with
  33.           the pnmconvol tool, for tasks like edge and peak detection.
  34.           And clustered-dot dithering gives a newspaper-ish look, a
  35.           useful special effect.
  36.  
  37.           The -value flag alters the thresholding value for Floyd-
  38.           Steinberg and simple thresholding.  It should be a real
  39.           number between 0 and 1.  Above 0.5 means darker images;
  40.           below 0.5 means lighter.
  41.  
  42.           All flags can be abbreviated to their shortest unique
  43.           prefix.
  44.  
  45.      REFERENCES
  46.           The only reference you need for this stuff is "Digital
  47.           Halftoning" by Robert Ulichney, MIT Press, ISBN 0-262-
  48.           21009-6.
  49.  
  50.      SEE ALSO
  51.           pbmreduce(1), pgm(5), pbm(5), pnmconvol(1)
  52.  
  53.      AUTHOR
  54.           Copyright (C) 1989 by Jef Poskanzer.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.